public class Test {

    public static void main(String[] args) {


        A a = new Teacher("战");
        a.write();
        System.out.println("----------------------------------------------------------------");
        A a1 = new Student("杀");
        a1.write();
    }
}
